﻿<Window
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:XDCCManager_Controls="clr-namespace:XDCCManager.Controls" xmlns:XDCCManager_Popups="clr-namespace:XDCCManager.Popups" x:Name="window" mc:Ignorable="d" x:Class="XDCCManager.Windows.StartupWindow"
        Title="Select XDCC" Height="350" Width="400" Loaded="window_Loaded" Closed="window_Closed">
	<Window.Resources>
	</Window.Resources>
    <Grid>
    	<Grid.RowDefinitions>
    		<RowDefinition Height="Auto"/>
    		<RowDefinition/>
    	</Grid.RowDefinitions>
        
    	<TextBlock Text="Choose an XDCC or create a new definition." HorizontalAlignment="Left"/>
        
    	<XDCCManager_Controls:ServerList Grid.Row="1" ShowClose="True" Close="ServerList_Close" Connect="ServerList_Connect" Editor="{x:Reference editor}"/>
        
   		<XDCCManager_Popups:ServerEditor x:Name="editor" Grid.RowSpan="2"/>
   		<XDCCManager_Popups:ConnectionProgress x:Name="progress" Grid.RowSpan="2" CancelRequested="progress_CancelRequested"/>
        
    </Grid>
</Window>
